enum Direction {
    Up = 1,
    Down,
    Left,
    Right
}


enum Response9 {
    No = 0,
    Yes = 1,
}

function respond(recipient: string, message: Response9): void {
    // ...
}

respond("Princess Caroline", Response9.Yes)